/*
 * Created by SharpDevelop.
 * User: Dror B. Helper
 * Date: 12/10/2008
 * Time: 19:23
 * 
 * To change this template use Tools | Options | Coding | Edit Standard Headers.
 */
using System;
using System.Drawing;
using System.Windows.Forms;
using StackoverflowNotifier.Properties;

namespace StackoverflowNotifier
{
	/// <summary>
	/// Description of SetUserForm.
	/// </summary>
	public partial class SetUserForm : Form
	{
        public string UserUrl { private set; get; }
		public SetUserForm()
		{
			//
			// The InitializeComponent() call is required for Windows Forms designer support.
			//
			InitializeComponent();
		}

        private void btnOk_Click(object sender, EventArgs e)
        {
            UserUrl = txtBxUserUrl.Text;

            Settings.Default.Save();
            DialogResult = DialogResult.OK;
        }

        private void btnCancel_Click(object sender, EventArgs e)
        {
            DialogResult = DialogResult.Cancel;
        }
	}
}
